package com.snimay;


import java.util.Date;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.snimay.app.menu.vo.Menu;
import com.snimay.heibernate.Annotation.field;
import com.snimay.heibernate.Annotation.table;

/**   
 * @Title      : Entity.java
 * @Package    : com.snimay.app.entity.vo
 * @Description: TODO 
 * @author     : xxy
 * @date       : 2018年5月29日 下午12:03:56
 * @version    : V1.0   
 */
@table(query = "fjgyv67w0_ut", name = "qjd",size=10,sever= "entity")
@javax.persistence.Entity
@Table(name = "SYS_qjd")
public class qjd {
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@field(text = "ID")
	public Long id;
	
			@field(text = "天数",regex="",flex=1,vfield="",length=100,index=0)
			public int fjgyv67w0_ut;
			@field(text = "缘由",regex="",flex=1,vfield="",length=100,index=0)
			public String fjgyv6bw7_znc;
			@field(text = "开始日期",regex="",flex=1,vfield="",length=100,index=0)
			public Date fjh0bpzrl_lju;			
			@field(text = "结束日期",regex="",flex=1,vfield="",length=100,index=0)
			public Date fjh0bqeah_qn;			
	
/*	@field(text = "实体名称")
	public String clazz;
	
	@field(text="属性",index=1)
	@OneToMany(cascade=CascadeType.ALL,fetch=FetchType.EAGER)  
	@JoinColumn(insertable=true,updatable=true,name="entity")
    public Set<EntityInfo> info;
	
	
	@ManyToOne(cascade = CascadeType.ALL)  
	public Menu data;*/
	
	
}
